import { ApiProperty } from "@nestjs/swagger";
import { TagType } from "./type.dto";

export class CreateTagDto {
    @ApiProperty({
        description: '标签类型',
        example: 'Kit',
    })
    type: TagType;

    @ApiProperty({
        description: '标签值',
        example: 'Form',
    })
    name: string;

    @ApiProperty({
        description: '标签名称',
        example: '表单',
    })
    label: string;

    @ApiProperty({
        description: '标签描述',
        example: '表单套件',
    })
    description?: string;
}
